package com.example.book_libapp;

import android.widget.RatingBar;

public class Book {

	// Book
	private String Name; // nomiin ner
	private String Author; // zokhiogch
	private int Published; // hewlegdsen
	private String BookDescription; // Nomiin tailbar
	private String price; // Une ($ dollar, T tugrug)
	private int imageNumber; // Zurgiin dugaar
	private RatingBar rating; // Rating
	private String Format; // file-iin turul PDF, EPUB
	private int Pages; // Huudas too

	public Book() {

	}

	public Book(String t, String a, int p, String b, String pr, int iN,
			RatingBar r, String f, int pg) {
		Name = t;
		Author = a;
		Published = p;
		BookDescription = b;
		price = pr;
		imageNumber = iN;
		rating = r;
		Format = f;
		Pages = pg;
	}

	// function
	public void setName(String i) {
		Name = i;
	}

	public String getName() {
		return Name;
	}

	public void setAuthor(String a) {
		Author = a;
	}

	public String getAuthor() {
		return Author;
	}

	public void setPublished(int p) {
		Published = p;
	}

	public int getPublished() {
		return Published;
	}

	public void setBookd(String d) {
		BookDescription = d;
	}

	public String getBookd() {
		return BookDescription;
	}

	public void setPrice(String p) {
		price = p;
	}

	public String getPrice() {
		return price;
	}

	public void setImageNumber(int i) {
		imageNumber = i;
	}

	public int getImageNumber() {
		return imageNumber;
	}

	public void setRating(RatingBar r) {
		rating = r;
	}

	public RatingBar getRating() {
		return rating;
	}

	public void setFormat(String f) {
		Format = f;
	}

	public String getFormat() {
		return Format;
	}

	public void setPages(int p) {
		Pages = p;
	}

	public int getPages() {
		return Pages;
	}
}
